<%--
  Created by IntelliJ IDEA.
  User: Xiang
  Date: 2021/9/13
  Time: 11:02
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>toFile</title>
</head>
<body>
<div>
<%--    <form action="<%=request.getContextPath()%>/file/up"  enctype="multipart/form-data" method="post">--%>
    <form action="<%=request.getContextPath()%>/file/up2"  enctype="multipart/form-data" method="post">
        <input type="file" name="imgPath">
        <input type="submit" value="上传">
    </form>
</div>
</body>
</html>
